﻿
namespace Indeco.G24.Windows.Forms
{
	/// <summary>
	/// This is the abstract edit form for the <see cref="Entities.NguoiDung"/> entity.
	/// </summary>
	/// <remarks>This class is overwritten by .netTiers at each generation.</remarks>
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public abstract class NguoiDungEditControlBase : System.Windows.Forms.UserControl
	{
		#region Fields
		
		//private System.Windows.Forms.TableLayoutPanel uxTableLayoutPanel;
		/// <summary>
		/// The ErrorProvider for the Entity;
		/// </summary>
		protected System.Windows.Forms.ErrorProvider uxErrorProvider;
		
		/// <summary>
		/// The BindingSource for the entity.
		///</summary>
		protected System.Windows.Forms.BindingSource uxBindingSource;
						
		
		/// <summary>
		/// TextBox for the IDNguoiDung property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxIDNguoiDung;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IDNguoiDung property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDNguoiDungLabel;
		
		/// <summary>
		/// TextBox for the TenSuDung property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxTenSuDung;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the TenSuDung property.
		/// </summary>
		protected System.Windows.Forms.Label uxTenSuDungLabel;
		
		/// <summary>
		/// TextBox for the MatKhau property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxMatKhau;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the MatKhau property.
		/// </summary>
		protected System.Windows.Forms.Label uxMatKhauLabel;
		
		/// <summary>
		/// CheckBox for the ChungThuc property.
		/// </summary>
		protected System.Windows.Forms.CheckBox uxChungThuc;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the ChungThuc property.
		/// </summary>
		protected System.Windows.Forms.Label uxChungThucLabel;
		
		/// <summary>
		/// TextBox for the MaKichHoat property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxMaKichHoat;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the MaKichHoat property.
		/// </summary>
		protected System.Windows.Forms.Label uxMaKichHoatLabel;
		
		/// <summary>
		/// CheckBox for the KichHoat property.
		/// </summary>
		protected System.Windows.Forms.CheckBox uxKichHoat;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the KichHoat property.
		/// </summary>
		protected System.Windows.Forms.Label uxKichHoatLabel;
		
		/// <summary>
		/// CheckBox for the CamHoatDong property.
		/// </summary>
		protected System.Windows.Forms.CheckBox uxCamHoatDong;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the CamHoatDong property.
		/// </summary>
		protected System.Windows.Forms.Label uxCamHoatDongLabel;
		
		/// <summary>
		/// CheckBox for the Xoa property.
		/// </summary>
		protected System.Windows.Forms.CheckBox uxXoa;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Xoa property.
		/// </summary>
		protected System.Windows.Forms.Label uxXoaLabel;
		
		/// <summary>
		/// TextBox for the Ten property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxTen;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Ten property.
		/// </summary>
		protected System.Windows.Forms.Label uxTenLabel;
		
		/// <summary>
		/// TextBox for the Ho property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxHo;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Ho property.
		/// </summary>
		protected System.Windows.Forms.Label uxHoLabel;
		
		/// <summary>
		/// TextBox for the Email property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxEmail;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Email property.
		/// </summary>
		protected System.Windows.Forms.Label uxEmailLabel;
		
		/// <summary>
		/// DataTimePicker for the NgaySinh property.
		/// </summary>
		protected System.Windows.Forms.DateTimePicker uxNgaySinh;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the NgaySinh property.
		/// </summary>
		protected System.Windows.Forms.Label uxNgaySinhLabel;
		
		/// <summary>
		/// TextBox for the DiaChi property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxDiaChi;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the DiaChi property.
		/// </summary>
		protected System.Windows.Forms.Label uxDiaChiLabel;
		
		/// <summary>
		/// TextBox for the MoTa property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxMoTa;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the MoTa property.
		/// </summary>
		protected System.Windows.Forms.Label uxMoTaLabel;
		
		/// <summary>
		/// TextBox for the HinhMinhHoa property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxHinhMinhHoa;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the HinhMinhHoa property.
		/// </summary>
		protected System.Windows.Forms.Label uxHinhMinhHoaLabel;
		
		/// <summary>
		/// TextBox for the DienThoai property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxDienThoai;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the DienThoai property.
		/// </summary>
		protected System.Windows.Forms.Label uxDienThoaiLabel;
		
		/// <summary>
		/// TextBox for the Mobile property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxMobile;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Mobile property.
		/// </summary>
		protected System.Windows.Forms.Label uxMobileLabel;
		
		/// <summary>
		/// TextBox for the MSN property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxMSN;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the MSN property.
		/// </summary>
		protected System.Windows.Forms.Label uxMSNLabel;
		
		/// <summary>
		/// TextBox for the Yahoo property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxYahoo;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Yahoo property.
		/// </summary>
		protected System.Windows.Forms.Label uxYahooLabel;
		
		/// <summary>
		/// TextBox for the Skype property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxSkype;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Skype property.
		/// </summary>
		protected System.Windows.Forms.Label uxSkypeLabel;
		
		/// <summary>
		/// TextBox for the IP property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxIP;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IP property.
		/// </summary>
		protected System.Windows.Forms.Label uxIPLabel;
		
		/// <summary>
		/// DataTimePicker for the ThoiDiemTruyCap property.
		/// </summary>
		protected System.Windows.Forms.DateTimePicker uxThoiDiemTruyCap;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the ThoiDiemTruyCap property.
		/// </summary>
		protected System.Windows.Forms.Label uxThoiDiemTruyCapLabel;
		
		/// <summary>
		/// DataTimePicker for the ThoiDiemThoat property.
		/// </summary>
		protected System.Windows.Forms.DateTimePicker uxThoiDiemThoat;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the ThoiDiemThoat property.
		/// </summary>
		protected System.Windows.Forms.Label uxThoiDiemThoatLabel;
		
		/// <summary>
		/// DataTimePicker for the ThoiDiemCapNhat property.
		/// </summary>
		protected System.Windows.Forms.DateTimePicker uxThoiDiemCapNhat;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the ThoiDiemCapNhat property.
		/// </summary>
		protected System.Windows.Forms.Label uxThoiDiemCapNhatLabel;
		
		/// <summary>
		/// DataTimePicker for the ThoiDiemChinhSua property.
		/// </summary>
		protected System.Windows.Forms.DateTimePicker uxThoiDiemChinhSua;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the ThoiDiemChinhSua property.
		/// </summary>
		protected System.Windows.Forms.Label uxThoiDiemChinhSuaLabel;
		#endregion
		
		#region Main entity
		private Entities.NguoiDung _NguoiDung;
		/// <summary>
		/// Gets or sets the <see cref="Entities.NguoiDung"/> entity to edit with this form.
		/// </summary>
		/// <value>The <see cref="Entities.NguoiDung"/> instance.</value>
		public Entities.NguoiDung NguoiDung
		{
			get {return this._NguoiDung;}
			set
			{
				this._NguoiDung = value;
				if (value != null) 
				{
					this.uxBindingSource.DataSource = value;
					BindControls();
				}			
				
			}
		}
		#endregion
		
		/// <summary>
		/// Binds the controls.
		/// </summary>
		private void BindControls()
		{
			this.uxIDNguoiDung.DataBindings.Clear();
			this.uxIDNguoiDung.DataBindings.Add("Text", this.uxBindingSource, "IDNguoiDung", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxTenSuDung.DataBindings.Clear();
			this.uxTenSuDung.DataBindings.Add("Text", this.uxBindingSource, "TenSuDung", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxMatKhau.DataBindings.Clear();
			this.uxMatKhau.DataBindings.Add("Text", this.uxBindingSource, "MatKhau", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxChungThuc.DataBindings.Clear();
			this.uxChungThuc.DataBindings.Add("Checked", this.uxBindingSource, "ChungThuc", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxMaKichHoat.DataBindings.Clear();
			this.uxMaKichHoat.DataBindings.Add("Text", this.uxBindingSource, "MaKichHoat", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxKichHoat.DataBindings.Clear();
			this.uxKichHoat.DataBindings.Add("Checked", this.uxBindingSource, "KichHoat", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxCamHoatDong.DataBindings.Clear();
			this.uxCamHoatDong.DataBindings.Add("Checked", this.uxBindingSource, "CamHoatDong", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxXoa.DataBindings.Clear();
			this.uxXoa.DataBindings.Add("Checked", this.uxBindingSource, "Xoa", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxTen.DataBindings.Clear();
			this.uxTen.DataBindings.Add("Text", this.uxBindingSource, "Ten", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxHo.DataBindings.Clear();
			this.uxHo.DataBindings.Add("Text", this.uxBindingSource, "Ho", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxEmail.DataBindings.Clear();
			this.uxEmail.DataBindings.Add("Text", this.uxBindingSource, "Email", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxNgaySinh.DataBindings.Clear();
			this.uxNgaySinh.DataBindings.Add("Value", this.uxBindingSource, "NgaySinh", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxDiaChi.DataBindings.Clear();
			this.uxDiaChi.DataBindings.Add("Text", this.uxBindingSource, "DiaChi", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxMoTa.DataBindings.Clear();
			this.uxMoTa.DataBindings.Add("Text", this.uxBindingSource, "MoTa", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxHinhMinhHoa.DataBindings.Clear();
			this.uxHinhMinhHoa.DataBindings.Add("Text", this.uxBindingSource, "HinhMinhHoa", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxDienThoai.DataBindings.Clear();
			this.uxDienThoai.DataBindings.Add("Text", this.uxBindingSource, "DienThoai", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxMobile.DataBindings.Clear();
			this.uxMobile.DataBindings.Add("Text", this.uxBindingSource, "Mobile", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxMSN.DataBindings.Clear();
			this.uxMSN.DataBindings.Add("Text", this.uxBindingSource, "MSN", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxYahoo.DataBindings.Clear();
			this.uxYahoo.DataBindings.Add("Text", this.uxBindingSource, "Yahoo", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxSkype.DataBindings.Clear();
			this.uxSkype.DataBindings.Add("Text", this.uxBindingSource, "Skype", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIP.DataBindings.Clear();
			this.uxIP.DataBindings.Add("Text", this.uxBindingSource, "IP", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxThoiDiemTruyCap.DataBindings.Clear();
			this.uxThoiDiemTruyCap.DataBindings.Add("Value", this.uxBindingSource, "ThoiDiemTruyCap", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxThoiDiemThoat.DataBindings.Clear();
			this.uxThoiDiemThoat.DataBindings.Add("Value", this.uxBindingSource, "ThoiDiemThoat", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxThoiDiemCapNhat.DataBindings.Clear();
			this.uxThoiDiemCapNhat.DataBindings.Add("Value", this.uxBindingSource, "ThoiDiemCapNhat", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxThoiDiemChinhSua.DataBindings.Clear();
			this.uxThoiDiemChinhSua.DataBindings.Add("Value", this.uxBindingSource, "ThoiDiemChinhSua", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
		}					
		
		#region Constructor
		
		/// <summary>
		/// Initializes a new instance of the <see cref="NguoiDungEditControlBase"/> class.
		/// </summary>
		public NguoiDungEditControlBase()
		{
			InitializeComponent();			
			
			this.uxBindingSource.CurrentItemChanged += new System.EventHandler(uxBindingSource_currentItemChanged);
		}		
		
		/// <summary>
		/// 
		/// </summary>
		private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e)
		{
			if (_NguoiDung != null) _NguoiDung.Validate();
		}	
				
		/// <summary>
		/// Initializes the component.
		/// </summary>
		public void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			this.uxErrorProvider = new System.Windows.Forms.ErrorProvider(this.components);
			this.uxBindingSource = new System.Windows.Forms.BindingSource(this.components);
			
			//this.uxTableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
			this.uxIDNguoiDung = new System.Windows.Forms.TextBox();
			uxIDNguoiDungLabel = new System.Windows.Forms.Label();
			this.uxTenSuDung = new System.Windows.Forms.TextBox();
			uxTenSuDungLabel = new System.Windows.Forms.Label();
			this.uxMatKhau = new System.Windows.Forms.TextBox();
			uxMatKhauLabel = new System.Windows.Forms.Label();
			this.uxChungThuc = new System.Windows.Forms.CheckBox();
			uxChungThucLabel = new System.Windows.Forms.Label();
			this.uxMaKichHoat = new System.Windows.Forms.TextBox();
			uxMaKichHoatLabel = new System.Windows.Forms.Label();
			this.uxKichHoat = new System.Windows.Forms.CheckBox();
			uxKichHoatLabel = new System.Windows.Forms.Label();
			this.uxCamHoatDong = new System.Windows.Forms.CheckBox();
			uxCamHoatDongLabel = new System.Windows.Forms.Label();
			this.uxXoa = new System.Windows.Forms.CheckBox();
			uxXoaLabel = new System.Windows.Forms.Label();
			this.uxTen = new System.Windows.Forms.TextBox();
			uxTenLabel = new System.Windows.Forms.Label();
			this.uxHo = new System.Windows.Forms.TextBox();
			uxHoLabel = new System.Windows.Forms.Label();
			this.uxEmail = new System.Windows.Forms.TextBox();
			uxEmailLabel = new System.Windows.Forms.Label();
			this.uxNgaySinh = new System.Windows.Forms.DateTimePicker();
			uxNgaySinhLabel = new System.Windows.Forms.Label();
			this.uxDiaChi = new System.Windows.Forms.TextBox();
			uxDiaChiLabel = new System.Windows.Forms.Label();
			this.uxMoTa = new System.Windows.Forms.TextBox();
			uxMoTaLabel = new System.Windows.Forms.Label();
			this.uxHinhMinhHoa = new System.Windows.Forms.TextBox();
			uxHinhMinhHoaLabel = new System.Windows.Forms.Label();
			this.uxDienThoai = new System.Windows.Forms.TextBox();
			uxDienThoaiLabel = new System.Windows.Forms.Label();
			this.uxMobile = new System.Windows.Forms.TextBox();
			uxMobileLabel = new System.Windows.Forms.Label();
			this.uxMSN = new System.Windows.Forms.TextBox();
			uxMSNLabel = new System.Windows.Forms.Label();
			this.uxYahoo = new System.Windows.Forms.TextBox();
			uxYahooLabel = new System.Windows.Forms.Label();
			this.uxSkype = new System.Windows.Forms.TextBox();
			uxSkypeLabel = new System.Windows.Forms.Label();
			this.uxIP = new System.Windows.Forms.TextBox();
			uxIPLabel = new System.Windows.Forms.Label();
			this.uxThoiDiemTruyCap = new System.Windows.Forms.DateTimePicker();
			uxThoiDiemTruyCapLabel = new System.Windows.Forms.Label();
			this.uxThoiDiemThoat = new System.Windows.Forms.DateTimePicker();
			uxThoiDiemThoatLabel = new System.Windows.Forms.Label();
			this.uxThoiDiemCapNhat = new System.Windows.Forms.DateTimePicker();
			uxThoiDiemCapNhatLabel = new System.Windows.Forms.Label();
			this.uxThoiDiemChinhSua = new System.Windows.Forms.DateTimePicker();
			uxThoiDiemChinhSuaLabel = new System.Windows.Forms.Label();
			
			((System.ComponentModel.ISupportInitialize)(this.uxBindingSource)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.uxErrorProvider)).BeginInit();
			this.SuspendLayout();
			
			// 
			// uxTableLayoutPanel
			// 
			//this.uxTableLayoutPanel.AutoSize = true;
			//this.uxTableLayoutPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
			//this.uxTableLayoutPanel.ColumnCount = 2;
			//this.uxTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 120F));
			//this.uxTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 250F));
			//this.uxTableLayoutPanel.Location = new System.Drawing.System.Drawing.Point(3, 3);
			//this.uxTableLayoutPanel.Name = "uxTableLayoutPanel";
			//this.uxTableLayoutPanel.RowCount = 2;
			//this.uxTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
			//this.uxTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
			//this.uxTableLayoutPanel.Size = new System.Drawing.Size(450, 50);
			//this.uxTableLayoutPanel.TabIndex = 0;
			
			//
			// uxErrorProvider
			//
			this.uxErrorProvider.ContainerControl = this;
			this.uxErrorProvider.DataSource = this.uxBindingSource;
			
			//
			// uxIDNguoiDungLabel
			//
			this.uxIDNguoiDungLabel.Text = "IDNguoiDung:";
			this.uxIDNguoiDungLabel.Location = new System.Drawing.Point(3, 0);
			this.Controls.Add(this.uxIDNguoiDungLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDNguoiDungLabel);			
			//
			// uxIDNguoiDung
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDNguoiDung);
			this.uxIDNguoiDung.Location = new System.Drawing.Point(160, 0);
			this.Controls.Add(this.uxIDNguoiDung);
			//
			// uxTenSuDungLabel
			//
			this.uxTenSuDungLabel.Text = "TenSuDung:";
			this.uxTenSuDungLabel.Location = new System.Drawing.Point(3, 26);
			this.Controls.Add(this.uxTenSuDungLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxTenSuDungLabel);			
			//
			// uxTenSuDung
			//
			this.uxTenSuDung.Width = 250;
			this.uxTenSuDung.MaxLength = 256;
			//this.uxTableLayoutPanel.Controls.Add(this.uxTenSuDung);
			this.uxTenSuDung.Location = new System.Drawing.Point(160, 26);
			this.Controls.Add(this.uxTenSuDung);
			//
			// uxMatKhauLabel
			//
			this.uxMatKhauLabel.Text = "MatKhau:";
			this.uxMatKhauLabel.Location = new System.Drawing.Point(3, 52);
			this.Controls.Add(this.uxMatKhauLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxMatKhauLabel);			
			//
			// uxMatKhau
			//
			this.uxMatKhau.Width = 250;
			this.uxMatKhau.MaxLength = 128;
			//this.uxTableLayoutPanel.Controls.Add(this.uxMatKhau);
			this.uxMatKhau.Location = new System.Drawing.Point(160, 52);
			this.Controls.Add(this.uxMatKhau);
			//
			// uxChungThucLabel
			//
			this.uxChungThucLabel.Text = "ChungThuc:";
			this.uxChungThucLabel.Location = new System.Drawing.Point(3, 78);
			this.Controls.Add(this.uxChungThucLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxChungThucLabel);			
			//
			// uxChungThuc
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxChungThuc);
			this.uxChungThuc.Location = new System.Drawing.Point(160, 78);
			this.Controls.Add(this.uxChungThuc);
			//
			// uxMaKichHoatLabel
			//
			this.uxMaKichHoatLabel.Text = "MaKichHoat:";
			this.uxMaKichHoatLabel.Location = new System.Drawing.Point(3, 104);
			this.Controls.Add(this.uxMaKichHoatLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxMaKichHoatLabel);			
			//
			// uxMaKichHoat
			//
			this.uxMaKichHoat.Width = 250;
			this.uxMaKichHoat.MaxLength = 255;
			//this.uxTableLayoutPanel.Controls.Add(this.uxMaKichHoat);
			this.uxMaKichHoat.Location = new System.Drawing.Point(160, 104);
			this.Controls.Add(this.uxMaKichHoat);
			//
			// uxKichHoatLabel
			//
			this.uxKichHoatLabel.Text = "KichHoat:";
			this.uxKichHoatLabel.Location = new System.Drawing.Point(3, 130);
			this.Controls.Add(this.uxKichHoatLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxKichHoatLabel);			
			//
			// uxKichHoat
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxKichHoat);
			this.uxKichHoat.Location = new System.Drawing.Point(160, 130);
			this.Controls.Add(this.uxKichHoat);
			//
			// uxCamHoatDongLabel
			//
			this.uxCamHoatDongLabel.Text = "CamHoatDong:";
			this.uxCamHoatDongLabel.Location = new System.Drawing.Point(3, 156);
			this.Controls.Add(this.uxCamHoatDongLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxCamHoatDongLabel);			
			//
			// uxCamHoatDong
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxCamHoatDong);
			this.uxCamHoatDong.Location = new System.Drawing.Point(160, 156);
			this.Controls.Add(this.uxCamHoatDong);
			//
			// uxXoaLabel
			//
			this.uxXoaLabel.Text = "Xoa:";
			this.uxXoaLabel.Location = new System.Drawing.Point(3, 182);
			this.Controls.Add(this.uxXoaLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxXoaLabel);			
			//
			// uxXoa
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxXoa);
			this.uxXoa.Location = new System.Drawing.Point(160, 182);
			this.Controls.Add(this.uxXoa);
			//
			// uxTenLabel
			//
			this.uxTenLabel.Text = "Ten:";
			this.uxTenLabel.Location = new System.Drawing.Point(3, 208);
			this.Controls.Add(this.uxTenLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxTenLabel);			
			//
			// uxTen
			//
			this.uxTen.Width = 250;
			this.uxTen.MaxLength = 50;
			//this.uxTableLayoutPanel.Controls.Add(this.uxTen);
			this.uxTen.Location = new System.Drawing.Point(160, 208);
			this.Controls.Add(this.uxTen);
			//
			// uxHoLabel
			//
			this.uxHoLabel.Text = "Ho:";
			this.uxHoLabel.Location = new System.Drawing.Point(3, 234);
			this.Controls.Add(this.uxHoLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxHoLabel);			
			//
			// uxHo
			//
			this.uxHo.Width = 250;
			this.uxHo.MaxLength = 255;
			//this.uxTableLayoutPanel.Controls.Add(this.uxHo);
			this.uxHo.Location = new System.Drawing.Point(160, 234);
			this.Controls.Add(this.uxHo);
			//
			// uxEmailLabel
			//
			this.uxEmailLabel.Text = "Email:";
			this.uxEmailLabel.Location = new System.Drawing.Point(3, 260);
			this.Controls.Add(this.uxEmailLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxEmailLabel);			
			//
			// uxEmail
			//
			this.uxEmail.Width = 250;
			this.uxEmail.MaxLength = 255;
			//this.uxTableLayoutPanel.Controls.Add(this.uxEmail);
			this.uxEmail.Location = new System.Drawing.Point(160, 260);
			this.Controls.Add(this.uxEmail);
			//
			// uxNgaySinhLabel
			//
			this.uxNgaySinhLabel.Text = "NgaySinh:";
			this.uxNgaySinhLabel.Location = new System.Drawing.Point(3, 286);
			this.Controls.Add(this.uxNgaySinhLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxNgaySinhLabel);			
			//
			// uxNgaySinh
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxNgaySinh);
			this.uxNgaySinh.Location = new System.Drawing.Point(160, 286);
			this.Controls.Add(this.uxNgaySinh);
			//
			// uxDiaChiLabel
			//
			this.uxDiaChiLabel.Text = "DiaChi:";
			this.uxDiaChiLabel.Location = new System.Drawing.Point(3, 312);
			this.Controls.Add(this.uxDiaChiLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxDiaChiLabel);			
			//
			// uxDiaChi
			//
			this.uxDiaChi.Width = 250;
			this.uxDiaChi.MaxLength = 1024;
			//this.uxTableLayoutPanel.Controls.Add(this.uxDiaChi);
			this.uxDiaChi.Location = new System.Drawing.Point(160, 312);
			this.Controls.Add(this.uxDiaChi);
			//
			// uxMoTaLabel
			//
			this.uxMoTaLabel.Text = "MoTa:";
			this.uxMoTaLabel.Location = new System.Drawing.Point(3, 338);
			this.Controls.Add(this.uxMoTaLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxMoTaLabel);			
			//
			// uxMoTa
			//
			this.uxMoTa.Width = 250;
			this.uxMoTa.MaxLength = 16;
			//this.uxTableLayoutPanel.Controls.Add(this.uxMoTa);
			this.uxMoTa.Location = new System.Drawing.Point(160, 338);
			this.Controls.Add(this.uxMoTa);
			//
			// uxHinhMinhHoaLabel
			//
			this.uxHinhMinhHoaLabel.Text = "HinhMinhHoa:";
			this.uxHinhMinhHoaLabel.Location = new System.Drawing.Point(3, 364);
			this.Controls.Add(this.uxHinhMinhHoaLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxHinhMinhHoaLabel);			
			//
			// uxHinhMinhHoa
			//
			this.uxHinhMinhHoa.Width = 250;
			this.uxHinhMinhHoa.MaxLength = 255;
			//this.uxTableLayoutPanel.Controls.Add(this.uxHinhMinhHoa);
			this.uxHinhMinhHoa.Location = new System.Drawing.Point(160, 364);
			this.Controls.Add(this.uxHinhMinhHoa);
			//
			// uxDienThoaiLabel
			//
			this.uxDienThoaiLabel.Text = "DienThoai:";
			this.uxDienThoaiLabel.Location = new System.Drawing.Point(3, 390);
			this.Controls.Add(this.uxDienThoaiLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxDienThoaiLabel);			
			//
			// uxDienThoai
			//
			this.uxDienThoai.Width = 250;
			this.uxDienThoai.MaxLength = 50;
			//this.uxTableLayoutPanel.Controls.Add(this.uxDienThoai);
			this.uxDienThoai.Location = new System.Drawing.Point(160, 390);
			this.Controls.Add(this.uxDienThoai);
			//
			// uxMobileLabel
			//
			this.uxMobileLabel.Text = "Mobile:";
			this.uxMobileLabel.Location = new System.Drawing.Point(3, 416);
			this.Controls.Add(this.uxMobileLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxMobileLabel);			
			//
			// uxMobile
			//
			this.uxMobile.Width = 250;
			this.uxMobile.MaxLength = 20;
			//this.uxTableLayoutPanel.Controls.Add(this.uxMobile);
			this.uxMobile.Location = new System.Drawing.Point(160, 416);
			this.Controls.Add(this.uxMobile);
			//
			// uxMSNLabel
			//
			this.uxMSNLabel.Text = "MSN:";
			this.uxMSNLabel.Location = new System.Drawing.Point(3, 442);
			this.Controls.Add(this.uxMSNLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxMSNLabel);			
			//
			// uxMSN
			//
			this.uxMSN.Width = 250;
			this.uxMSN.MaxLength = 50;
			//this.uxTableLayoutPanel.Controls.Add(this.uxMSN);
			this.uxMSN.Location = new System.Drawing.Point(160, 442);
			this.Controls.Add(this.uxMSN);
			//
			// uxYahooLabel
			//
			this.uxYahooLabel.Text = "Yahoo:";
			this.uxYahooLabel.Location = new System.Drawing.Point(3, 468);
			this.Controls.Add(this.uxYahooLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxYahooLabel);			
			//
			// uxYahoo
			//
			this.uxYahoo.Width = 250;
			this.uxYahoo.MaxLength = 50;
			//this.uxTableLayoutPanel.Controls.Add(this.uxYahoo);
			this.uxYahoo.Location = new System.Drawing.Point(160, 468);
			this.Controls.Add(this.uxYahoo);
			//
			// uxSkypeLabel
			//
			this.uxSkypeLabel.Text = "Skype:";
			this.uxSkypeLabel.Location = new System.Drawing.Point(3, 494);
			this.Controls.Add(this.uxSkypeLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxSkypeLabel);			
			//
			// uxSkype
			//
			this.uxSkype.Width = 250;
			this.uxSkype.MaxLength = 50;
			//this.uxTableLayoutPanel.Controls.Add(this.uxSkype);
			this.uxSkype.Location = new System.Drawing.Point(160, 494);
			this.Controls.Add(this.uxSkype);
			//
			// uxIPLabel
			//
			this.uxIPLabel.Text = "IP:";
			this.uxIPLabel.Location = new System.Drawing.Point(3, 520);
			this.Controls.Add(this.uxIPLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIPLabel);			
			//
			// uxIP
			//
			this.uxIP.Width = 250;
			this.uxIP.MaxLength = 50;
			//this.uxTableLayoutPanel.Controls.Add(this.uxIP);
			this.uxIP.Location = new System.Drawing.Point(160, 520);
			this.Controls.Add(this.uxIP);
			//
			// uxThoiDiemTruyCapLabel
			//
			this.uxThoiDiemTruyCapLabel.Text = "ThoiDiemTruyCap:";
			this.uxThoiDiemTruyCapLabel.Location = new System.Drawing.Point(3, 546);
			this.Controls.Add(this.uxThoiDiemTruyCapLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxThoiDiemTruyCapLabel);			
			//
			// uxThoiDiemTruyCap
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxThoiDiemTruyCap);
			this.uxThoiDiemTruyCap.Location = new System.Drawing.Point(160, 546);
			this.Controls.Add(this.uxThoiDiemTruyCap);
			//
			// uxThoiDiemThoatLabel
			//
			this.uxThoiDiemThoatLabel.Text = "ThoiDiemThoat:";
			this.uxThoiDiemThoatLabel.Location = new System.Drawing.Point(3, 572);
			this.Controls.Add(this.uxThoiDiemThoatLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxThoiDiemThoatLabel);			
			//
			// uxThoiDiemThoat
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxThoiDiemThoat);
			this.uxThoiDiemThoat.Location = new System.Drawing.Point(160, 572);
			this.Controls.Add(this.uxThoiDiemThoat);
			//
			// uxThoiDiemCapNhatLabel
			//
			this.uxThoiDiemCapNhatLabel.Text = "ThoiDiemCapNhat:";
			this.uxThoiDiemCapNhatLabel.Location = new System.Drawing.Point(3, 598);
			this.Controls.Add(this.uxThoiDiemCapNhatLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxThoiDiemCapNhatLabel);			
			//
			// uxThoiDiemCapNhat
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxThoiDiemCapNhat);
			this.uxThoiDiemCapNhat.Location = new System.Drawing.Point(160, 598);
			this.Controls.Add(this.uxThoiDiemCapNhat);
			//
			// uxThoiDiemChinhSuaLabel
			//
			this.uxThoiDiemChinhSuaLabel.Text = "ThoiDiemChinhSua:";
			this.uxThoiDiemChinhSuaLabel.Location = new System.Drawing.Point(3, 624);
			this.Controls.Add(this.uxThoiDiemChinhSuaLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxThoiDiemChinhSuaLabel);			
			//
			// uxThoiDiemChinhSua
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxThoiDiemChinhSua);
			this.uxThoiDiemChinhSua.Location = new System.Drawing.Point(160, 624);
			this.Controls.Add(this.uxThoiDiemChinhSua);
			// 
			// NguoiDungEditControlBase
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			//this.Controls.Add(this.uxTableLayoutPanel);
			this.AutoScroll = true;
			this.Name = "NguoiDungEditControlBase";
			this.Size = new System.Drawing.Size(478, 311);
			//this.Localizable = true;
			((System.ComponentModel.ISupportInitialize)(this.uxErrorProvider)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.uxBindingSource)).EndInit();			
			this.ResumeLayout(false);
			this.PerformLayout();
		}
		#endregion
				
		#region ComboBox List
		
		
		#endregion
		
		/// <summary> 
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.IContainer components = null;

		/// <summary> 
		/// Clean up any resources being used.
		/// </summary>
		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
		protected override void Dispose(bool disposing)
		{
			if (disposing && (components != null))
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}
	}
}
